package edu.szu.huhanpeng.doodlingFight.model.data 
{
	/**
	 * ...
	 * @author Huhanpeng
	 */
	public class GameData 
	{
		//游戏模式，1为单人，2为双人
		
		public static const ONE_PLAYER:int = 1;
		public static const TWO_PLAYER:int = 2;
		
		//玩家代号
		public static const PLAYERS:Vector.<int> = new <int>[P_ONE,P_TWO];
		public static const P_ONE:int = 1;
		public static const P_TWO:int = -1;
		public static function getTheOtherPlayer(val:int):int
		{
			return val * -1;
		}
		
		//当前动作玩家
		public var actionPlayer:int;
		
		//玩家姓名
		public var pOneName:String;
		public var pTwoName:String;
		
		//玩家得分
		public var pOneScore:ScoreData = new ScoreData( P_ONE );
		public var pTwoScore:ScoreData = new ScoreData( P_TWO );
		
		public var gameMode:int;
		
		//获胜所需的分数
		public var winScore:int;
		
		public function GameData() 
		{
			
		}
		
	}

}